<?php

/**
 * Subclass for performing query and update operations on the 'kernel.menu' table.
 *
 * 
 *
 * @package plugins/kernel/lib.model
 */ 
class KernelMenuPeer extends BaseKernelMenuPeer
{
  
  public static function getMenuesNoPadre()
  {
    //$criteria1 = new Criteria();
    //$criteria1->add(KernelMenuPeer::NIVEL, 1);
    //$criteria1->addAscendingOrderByColumn(KernelMenuPeer::NOMBRE );
    //$this->menues = KernelMenuPeer::doSelect($criteria1);
    $resultado = array(''=>'-- Seleccione un valor --', '1'=> 'Si', '0'=>'No');
    return $resultado;
  }
}
